<!-- This comment will put IE 6, 7 and 8 in quirks mode -->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>Sokoban2011:  Fichier source de /home/hady/sokoban2011/trunk/src/Terrain.h</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javaScript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css"/>
</head>
<body onload='searchBox.OnSelectItem(0);'>
<!-- Généré par Doxygen 1.6.3 -->
<script type="text/javascript"><!--
var searchBox = new SearchBox("searchBox", "search",false,'Recherche');
--></script>
<div class="navigation" id="top">
  <div class="tabs">
    <ul>
      <li><a href="index.html"><span>Page&nbsp;principale</span></a></li>
      <li><a href="annotated.html"><span>Structures&nbsp;de&nbsp;données</span></a></li>
      <li class="current"><a href="files.html"><span>Fichiers</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <img id="MSearchSelect" src="search/search.png"
             onmouseover="return searchBox.OnSearchSelectShow()"
             onmouseout="return searchBox.OnSearchSelectHide()"
             alt=""/>
        <input type="text" id="MSearchField" value="Recherche" accesskey="S"
             onfocus="searchBox.OnSearchFieldFocus(true)" 
             onblur="searchBox.OnSearchFieldFocus(false)" 
             onkeyup="searchBox.OnSearchFieldChange(event)"/>
        <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
        </div>
      </li>
    </ul>
  </div>
  <div class="tabs">
    <ul>
      <li><a href="files.html"><span>Liste&nbsp;des&nbsp;fichiers</span></a></li>
      <li><a href="globals.html"><span>Portée&nbsp;globale</span></a></li>
    </ul>
  </div>
<h1>/home/hady/sokoban2011/trunk/src/Terrain.h</h1><a href="_terrain_8h.html">Aller à la documentation de ce fichier.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 <span class="preprocessor">#ifndef _TERRAIN_H</span>
<a name="l00002"></a>00002 <span class="preprocessor"></span><span class="preprocessor">#define _TERRAIN_H</span>
<a name="l00003"></a>00003 <span class="preprocessor"></span>
<a name="l00021"></a><a class="code" href="struct_terrain.html">00021</a> <span class="keyword">typedef</span> <span class="keyword">struct </span>
<a name="l00022"></a>00022 {
<a name="l00023"></a>00023         <span class="keywordtype">int</span> dimX;
<a name="l00024"></a>00024         <span class="keywordtype">int</span> dimY;
<a name="l00025"></a>00025         <span class="keywordtype">char</span> **tab;
<a name="l00026"></a>00026 } <a class="code" href="struct_terrain.html">Terrain</a>;
<a name="l00027"></a>00027 
<a name="l00034"></a>00034 <span class="keywordtype">void</span> terInit(<a class="code" href="struct_terrain.html">Terrain</a> *, <span class="keyword">const</span> <span class="keywordtype">char</span> * );
<a name="l00035"></a>00035 
<a name="l00041"></a>00041 <span class="keywordtype">void</span> terLibere(<a class="code" href="struct_terrain.html">Terrain</a> *);
<a name="l00042"></a>00042 
<a name="l00043"></a>00043 
<a name="l00044"></a>00044 
<a name="l00053"></a>00053 <span class="keywordtype">int</span>  terEstPositionSokoValide(<span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a> *, <span class="keyword">const</span> <span class="keywordtype">int</span> , <span class="keyword">const</span> <span class="keywordtype">int</span> );
<a name="l00054"></a>00054 
<a name="l00063"></a>00063 <span class="keywordtype">int</span>  terEstPositionCaisseValide(<span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a> *, <span class="keyword">const</span> <span class="keywordtype">int</span> , <span class="keyword">const</span> <span class="keywordtype">int</span> );
<a name="l00064"></a>00064 
<a name="l00065"></a>00065 
<a name="l00074"></a>00074 <span class="keyword">const</span> <span class="keywordtype">char</span> terGetXY(<span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a> *, <span class="keywordtype">int</span> , <span class="keywordtype">int</span> );
<a name="l00075"></a>00075 
<a name="l00076"></a>00076 
<a name="l00085"></a>00085 <span class="keywordtype">void</span> terSetXY(<span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a> *, <span class="keyword">const</span> <span class="keywordtype">int</span> , <span class="keyword">const</span> <span class="keywordtype">int</span> , <span class="keyword">const</span> <span class="keywordtype">char</span>);
<a name="l00086"></a>00086 
<a name="l00087"></a>00087 
<a name="l00094"></a>00094 <span class="keyword">const</span> <span class="keywordtype">int</span> getDimX(<span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a> *);
<a name="l00095"></a>00095 
<a name="l00096"></a>00096 
<a name="l00103"></a>00103 <span class="keyword">const</span> <span class="keywordtype">int</span> getDimY(<span class="keyword">const</span> <a class="code" href="struct_terrain.html">Terrain</a> *);
<a name="l00104"></a>00104 
<a name="l00109"></a>00109 <span class="keywordtype">void</span> terTestRegression();
<a name="l00110"></a>00110 
<a name="l00111"></a>00111 <span class="preprocessor">#endif</span>
</pre></div></div>
<!--- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&nbsp;</span>Tout</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&nbsp;</span>Structures de données</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&nbsp;</span>Fichiers</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&nbsp;</span>Fonctions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&nbsp;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&nbsp;</span>Définition de type</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&nbsp;</span>Macros</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<hr class="footer"/><address style="text-align: right;"><small>Généré le Tue Jun 7 02:52:12 2011 pour Sokoban2011 par&nbsp;
<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.6.3 </small></address>
</body>
</html>
